package org.linlinjava.litemall.db.service;

import com.github.pagehelper.PageHelper;
import org.linlinjava.litemall.db.dao.order_manage.AgedmallServiceOrderManageMapper;
import org.linlinjava.litemall.db.vo.service_order.ServiceOrderParm;
import org.linlinjava.litemall.db.vo.service_order.ServiceOrderRetunDto;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author huangfei
 * @create 2021-11-24 19:46
 */
@Service
public class AgedmallServiceOrderDbService {

    @Resource
    private AgedmallServiceOrderManageMapper agedmallServiceOrderManageMapper;


   public List<ServiceOrderRetunDto> getServiceOrderListInfo(ServiceOrderParm serviceOrderParm){
       PageHelper.startPage(serviceOrderParm.getPage(), serviceOrderParm.getLimit());
        return  agedmallServiceOrderManageMapper.getServiceOrderListInfo(serviceOrderParm);
    }
}
